//
//  LPTAopenContainerEntity.h
//  LPTClient
//
//  Created by mac on 2018/12/9.
//  Copyright © 2018年 zhaodd. All rights reserved.
//

#import <Foundation/Foundation.h>
@class LPTarchiveEntity,LPTAvtarEntity,LPTUserEntity,LPTPrescriptionsEntity,LPTOrderEntity;

NS_ASSUME_NONNULL_BEGIN

@interface LPTAopenContainerEntity : NSObject

@property (nonatomic, copy) NSArray <LPTPrescriptionsEntity *> *prescriptions;
@property (nonatomic, assign) NSInteger current_page;
@property (nonatomic, assign) NSInteger last_page;
@property (nonatomic, assign) NSInteger total;

@end

@interface LPTPrescriptionsEntity : NSObject

//@property (strong , nonatomic)id doctor;
@property (strong , nonatomic)LPTUserEntity *user;
@property (strong , nonatomic)LPTarchiveEntity *archive;
@property (copy , nonatomic)NSString *diagnosis;//诊断结果
@property (copy , nonatomic)NSString *amount;//价格
@property (strong , nonatomic)LPTOrderEntity *order;//价格
//@property (strong , nonatomic)id recipe;//药方信息

@end

@interface LPTUserEntity : NSObject<YYModel>

@property (copy , nonatomic)NSString *userId;
@property (copy , nonatomic)NSString *name;
@property (copy , nonatomic)NSString *mobile;
@property (assign , nonatomic)NSInteger visit_count;
@property (copy , nonatomic)NSString *last_visit;
@property (strong , nonatomic)id avatar;
@property (copy , nonatomic)NSString *created_at;

@end

@interface LPTOrderEntity : NSObject

@property (copy , nonatomic)NSString *status;
@property (copy , nonatomic)NSString *amount;
@property (copy , nonatomic)NSString *no;

@end

@interface LPTAvtarEntity : NSObject

@property (copy , nonatomic)NSString *avtarId;
@property (copy , nonatomic)NSString *type;
@property (copy , nonatomic)NSString *size;
@property (copy , nonatomic)NSString *url;

@end

@interface LPTarchiveEntity : NSObject

@property (copy , nonatomic)NSString *archiveId;
@property (copy , nonatomic)NSString *name;
@property (copy , nonatomic)NSString *sex;
@property (copy , nonatomic)NSString *birthday;
@property (copy , nonatomic)NSString *age;
@property (copy , nonatomic)NSString *height;
@property (copy , nonatomic)NSString *weight;
@property (copy , nonatomic)NSString *allergy;
@property (copy , nonatomic)NSString *disease;

@end

NS_ASSUME_NONNULL_END
